package cn.stylefeng.guns.modular.manager.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 国家城市
 * </p>
 *
 * @author yumker
 * @since 2021-01-07
 */
@TableName("flow_country_city")
public class FlowCountryCity implements Serializable {

    private static final long serialVersionUID=1L;

      @TableId(value = "city_id", type = IdType.AUTO)
    private Long cityId;

    @TableField("city_name")
    private String cityName;

    @TableField("country_id")
    private Long countryId;

      @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

      @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    @TableField("city_addr")
    private String cityAddr;

    @TableField("hide")
    private Integer hide;


    public Long getCityId() {
        return cityId;
    }

    public void setCityId(Long cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public Long getCountryId() {
        return countryId;
    }

    public void setCountryId(Long countryId) {
        this.countryId = countryId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCityAddr() {
        return cityAddr;
    }

    public void setCityAddr(String cityAddr) {
        this.cityAddr = cityAddr;
    }

    public Integer getHide() {
        return hide;
    }

    public void setHide(Integer hide) {
        this.hide = hide;
    }

    @Override
    public String toString() {
        return "FlowCountryCity{" +
                "cityId=" + cityId +
                ", cityName=" + cityName +
                ", countryId=" + countryId +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", cityAddr=" + cityAddr +
                ", hide=" + hide +
                "}";
    }
}
